package com.example.sys.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.sys.entity.Role;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author anan
 * @since 2019-06-13
 */
public interface RoleService extends IService<Role> {
    List<Role> findRoleByLoginName(String loginName);
    List<Role> findRoleByUserId(Long userId);
}
